//
//  ROPicItemConfiguration.m
//  Runone
//
//  Created by runone02 on 16/11/19.
//  Copyright © 2016年 runone. All rights reserved.
//

#import "ROPicItemConfiguration.h"

@implementation ROPicItemConfiguration


+ (instancetype)defaultConfiguration {
    
    ROPicItemConfiguration *pic = [[ROPicItemConfiguration alloc] init];
    pic.contentMode             = UIViewContentModeScaleAspectFill;
    pic.showBottomView          = NO;
    
    return pic;
}

+ (instancetype)hasTitleViewConfiguration {
    
    ROPicItemConfiguration *pic = [[ROPicItemConfiguration alloc] init];
    
    pic.showBottomView   = YES;
    pic.bottomViewHeight = 25;
    pic.textColor        = [UIColor whiteColor];
    pic.textFont         = [UIFont systemFontOfSize:15];
    pic.bgColor          = [[UIColor blackColor] colorWithAlphaComponent:0.5];
    pic.contentMode      = UIViewContentModeScaleAspectFill;
    
    return pic;
}



@end
